package com.jt.service3;

public class taobao implements USBSell{

    private USBSell factory  =new UsbFactory();

    public float sell(int amount) {
        float price = factory.sell(amount);
        //增强功能
        price=price+25;
        System.out.println("淘宝商家，给你返一个优惠券，或者红包");
        //增加的价格
        return price;
    }
}
